Debug.SetAIName("Ha You Can't Attack")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)

--[[message
Destiny Hero - Disk Commander Pre-Errata strikes again.


Your Starting LP: 8000
Opponent's Starting LP: 8000
Complexity: 5/10.

Objective: Win using Exodia, the Forbidden One.

]]

Debug.SetPlayerInfo(0,8000,0,0)
Debug.SetPlayerInfo(1,8000,0,0)
--AI's field
Debug.AddCard(13893596,1,1,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(52503575,1,1,LOCATION_SZONE,3,POS_FACEUP)
Debug.AddCard(98956134,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
--Ai's hand
Debug.AddCard(19665973,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(19665973,1,1,LOCATION_HAND,0,POS_FACEDOWN)
--Ai's Grave
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(04035199,1,1,LOCATION_GRAVE,0,POS_FACEUP)
--Players field
Debug.AddCard(511003116,0,0,LOCATION_MZONE,3,POS_FACEUP_ATTACK)
Debug.AddCard(34906152,0,0,LOCATION_SZONE,3,POS_FACEUP)
Debug.AddCard(00027551,0,0,LOCATION_SZONE,0,POS_FACEDOWN)
Debug.AddCard(00027551,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
--Cards in deck.
Debug.AddCard(07902349,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(08124921,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(44519536,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(70903634,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(33396948,0,0,LOCATION_DECK,0,POS_FACEDOWN)
-- ^ is exodia at the bottom Advabce Draw bellow
Debug.AddCard(51630558,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Mystic Piper
Debug.AddCard(14198496,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Cyber-Stein
Debug.AddCard(69015963,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Blue eyes
Debug.AddCard(89631139,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Trade in
Debug.AddCard(38120068,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Ancient leaf
Debug.AddCard(11830996,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84257639,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84257639,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Call of the haunted = 970. Red medicine = 381 Cure Master = 842
Debug.AddCard(97077563,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(38199696,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97077563,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(84257639,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(97077563,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(38199696,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Pre-mat b
Debug.AddCard(70828912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Emergency Provisions
Debug.AddCard(53046408,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Pre-mat b
Debug.AddCard(70828912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Pre-mat b
Debug.AddCard(70828912,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Monster Reborn desu
Debug.AddCard(83764718,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Double summon
Debug.AddCard(43422537,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--Makyura
Debug.AddCard(21593987,0,0,LOCATION_DECK,0,POS_FACEDOWN)
--A feather of the phoenix
Debug.AddCard(49140998,0,0,LOCATION_DECK,0,POS_FACEDOWN)

--Grave
--Ancient leaf
Debug.AddCard(11830996,0,0,LOCATION_GRAVE,0,POS_FACEUP)

--Fusion Deck
Debug.AddCard(96334243,0,0,LOCATION_EXTRA,1,POS_FACEDOWN)
Debug.AddCard(76774528,0,0,LOCATION_EXTRA,0,POS_FACEDOWN)

Debug.ReloadFieldEnd()
Debug.ShowHint("Win using Exodia!")
--Below makes it a one turn puzzle.
aux.BeginPuzzle()

--LOCATION_DECK
--LOCATION_SZONE
--LOCATION_GRAVE
--LOCATION_HAND
--LOCATION_MZONE
--LOCATION_EXTRA
--LOCATION_REMOVED
--POS_FACEDOWN
--POS_FACEDOWN_DEFENSE
--POS_FACEUP
--POS_FACEUP_DEFENSE
--POS_FACEUP_ATTACK
--Debug.PreEquip(e1,c1)
--Debug.PreSummon(c,type)
--Debug.AddCard()
--aux.BeginPuzzle()
